package com.liuqm.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * sku信息
 * </p>
 *
 * @author liuqm
 * @since 2024-09-04
 */
@TableName("czkt_product_sku")
public class CzktProductSku implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "sku_id", type = IdType.AUTO)
      private Integer skuId;

    private Integer spuId;

      /**
     * 零售价
     */
      private BigDecimal skuPrice;

      /**
     * 商城价
     */
      private BigDecimal skuShopPrice;

      /**
     * sku规格属性（数据格式   颜色:红色;尺寸:XL）
     */
      private String skuAttr;

      /**
     * 库存
     */
      private Integer stockNum;
    
    public Integer getSkuId() {
        return skuId;
    }

      public void setSkuId(Integer skuId) {
          this.skuId = skuId;
      }
    
    public Integer getSpuId() {
        return spuId;
    }

      public void setSpuId(Integer spuId) {
          this.spuId = spuId;
      }
    
    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

      public void setSkuPrice(BigDecimal skuPrice) {
          this.skuPrice = skuPrice;
      }
    
    public BigDecimal getSkuShopPrice() {
        return skuShopPrice;
    }

      public void setSkuShopPrice(BigDecimal skuShopPrice) {
          this.skuShopPrice = skuShopPrice;
      }
    
    public String getSkuAttr() {
        return skuAttr;
    }

      public void setSkuAttr(String skuAttr) {
          this.skuAttr = skuAttr;
      }
    
    public Integer getStockNum() {
        return stockNum;
    }

      public void setStockNum(Integer stockNum) {
          this.stockNum = stockNum;
      }

    @Override
    public String toString() {
        return "CzktProductSku{" +
              ", skuId = " + skuId +
                  ", spuId = " + spuId +
                  ", skuPrice = " + skuPrice +
                  ", skuShopPrice = " + skuShopPrice +
                  ", skuAttr = " + skuAttr +
                  ", stockNum = " + stockNum +
              "}";
    }
}
